﻿using Microsoft.EntityFrameworkCore;
using Modules.Catalog.Core.Abstractions;
using Modules.Catalog.Core.Entities;
using Shared.Infrastructure.Persistence;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Modules.Catalog.Infrastructure.Persistence
{
    internal class CatalogDbContext : ModuleDBContext, ICatalogDbContext
    {
        protected override string Schema => "Catalog";
        public CatalogDbContext(DbContextOptions<CatalogDbContext> options) : base(options)
        {
        }

        public DbSet<Brand> Brands { get ; set; }


    }
}
